Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[B5] Add Styleguide for Bootstrap 5 #33718

Closed
wants to merge 67 commits into from
Closed

[B5] Add Styleguide for Bootstrap 5 #33718

wants to merge 67 commits into from

Conversation

biyeun
Copy link
Member

@biyeun biyeun commented Nov 7, 2023

Technical Summary

NOTE: This is a draft PR. As it is a draft, I will force push the branch to this PR as I cherry-pick commits I've made into separate PRs that affect code outside of the styleguide.

This adds a Bootstrap 5 version of our styleguide, accessible at /styleguide/b5/, which also makes several improvements on our current styleguide:

  • organization & navigation improvements — easier to find and get to specific examples of common components used in HQ
  • readability improvements — larger text in the styleguide for reading ease, style updates to <code> blocks
  • ability to view code and running examples side by side (the original styleguide required flipping between two tabs, which isn't great for readability / usability

and there are some pending additions:

  • full coverage of all knockout bindings and knockout components — we had very partial coverage of this in the past
  • migration guide for current bootstrap migrations and a place to store thoughts, best practices, and help for future bootstrap migrations

Lastly, one big purpose I see with the styleguide (and the reason why i'm being diligent with component and knockout binding coverage) is that I see it as an excellent visual test of any front-end library changes, including future bootstrap 5 upgrades. To have all of our components available to test in one place will hopefully make testing front end library upgrades in the future easier and less error-prone.

Safety Assurance

Safety story

A final version of this PR will only be making additions to the styleguide—all other code changes will be cherry-picked out into separate PRs for review.

Automated test coverage

No

QA Plan

Not needed. Styleguide is not a core user workflow and beneficial only to HQ developers. This will live on staging as I continue to make changes.

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@biyeun biyeun added the product/invisible Change has no end-user visible impact label Nov 7, 2023
@dimagimon dimagimon added the Risk: Medium Change affects files that have been flagged as medium risk. label Nov 14, 2023
@biyeun biyeun force-pushed the bmb/b5-styleguide branch 2 times, most recently from f497637 to 491578e Compare November 16, 2023 20:16
@dimagimon dimagimon removed the Risk: Medium Change affects files that have been flagged as medium risk. label Nov 16, 2023
@dimagimon dimagimon added dependencies Pull requests that update a dependency file Risk: High Change affects files that have been flagged as high risk. labels Nov 21, 2023
@dimagimon dimagimon removed dependencies Pull requests that update a dependency file Risk: High Change affects files that have been flagged as high risk. labels Nov 22, 2023
@biyeun biyeun force-pushed the bmb/b5-styleguide branch 2 times, most recently from 32987e8 to d0a7570 Compare November 27, 2023 15:48
@dimagimon dimagimon added the dependencies Pull requests that update a dependency file label Nov 28, 2023
@biyeun biyeun force-pushed the bmb/b5-styleguide branch 2 times, most recently from 61dabd7 to 827bcab Compare November 30, 2023 22:01
@dimagimon dimagimon removed the dependencies Pull requests that update a dependency file label Nov 30, 2023
@dimagimon dimagimon added Risk: Medium Change affects files that have been flagged as medium risk. dependencies Pull requests that update a dependency file labels Jan 18, 2024
@dimagimon dimagimon removed the Risk: Medium Change affects files that have been flagged as medium risk. label Jan 19, 2024
… functional views (explained in style guide)
…files and multiple runs of migrate_app_to_bootstrap5
@biyeun biyeun closed this Feb 29, 2024
@biyeun biyeun deleted the bmb/b5-styleguide branch March 4, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/invisible Change has no end-user visible impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants